from django.contrib import admin
from fedora.models import koji_package, koji_build


# Register your models here.
@admin.register(koji_package)
class PackageAdmin(admin.ModelAdmin):
    search_fields = ['package_id', 'package_name']
    pass

@admin.register(koji_build)
class BuildAdmin(admin.ModelAdmin):
    search_fields = ['nvr']
    list_filter = ['state', 'tag']
    pass